package base.service;

import android.hardware.display.IDisplayManagerCallback;
import android.view.DisplayInfo;
import android.os.*;
import android.hardware.display.IDisplayManager;

public class DisplayManagerService extends Binder implements IDisplayManager {
    public DisplayManagerService() {
        attachInterface(this, "android.hardware.display.IDisplayManager");
    }

    public android.os.IBinder asBinder() {
        return this;
    }

    public DisplayInfo CurrentDisplayInfo;

    public DisplayInfo getDisplayInfo(int i) {
        if (CurrentDisplayInfo == null)
            CurrentDisplayInfo = new DisplayInfo();
        return CurrentDisplayInfo;
    }

    public void registerCallback(IDisplayManagerCallback iDisplayManagerCallback) {

    }

}
